import java.io.Serializable;

/**
 * This class is the add parent controller
 */
public class AddParent implements Serializable {
	/**
	* Variables that will get the input from the GUI
	*/
	private String cID;
	private String pass;
	private String pID;
	private String name;
	/** Construct
	* 
	*  @param parentID to set the parent id
	*  
	*  @param p to set the password
	*  
	*  @param childID to set the child id
	*  
	*  @param n to set the name
	*/
	public AddParent(String parentID, String p, String childID, String n) {
		pID = parentID;
		pass = p;
		cID = childID;
		name = n;
	}
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * @return the pass
	 */
	public String getPass() {
		return pass;
	}
	/**
	 * @param pass the pass to set
	 */
	public void setPass(String pass) {
		this.pass = pass;
	}
	/**
	 * @return the cID
	 */
	public String getcID() {
		return cID;
	}
	/**
	 * @param cID the cID to set
	 */
	public void setcID(String cID) {
		this.cID = cID;
	}
	/**
	 * @return the pID
	 */
	public String getpID() {
		return pID;
	}
	/**
	 * @param pID the pID to set
	 */
	public void setpID(String pID) {
		this.pID = pID;
	}
}
